<?php
$this->pageTitle = '网购知识库';
$this->breadcrumbs=array(
	'网购知识库',
);?>
<div class="goods_header end_header"><h3>文章列表</h3></div>

<div class="artList">
	<?php
	foreach($list as $art){
		echo '<p><em>'.date('Y-m-d',$art->createtime).'</em><span>['.CHtml::link($art->category->name,array('article/category','id'=>$art->category->id)).']</span>'.CHtml::link($art->title,array('article/view','id'=>$art->id)).'</p>';
	}
	?>
	
	<div id="pager">
	<?php

	$this->widget('CLinkPager',array(
		'header'=>'',
		'firstPageLabel' => '首页',
		'lastPageLabel' => '末页',
		'prevPageLabel' => '上一页',
		'nextPageLabel' => '下一页',
		'pages' => $pages,
		'maxButtonCount'=>13
		)
	);
	?>
	</div>
</div>

